<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class AppController</title>

	<script type="text/javascript" src="resources/combined.js?394153670"></script>
	<script type="text/javascript" src="elementlist.js?1800566221"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-abismo.html">abismo<span></span></a>
						<ul>
				<li><a href="package-abismo.admin.html">admin</a>
						</li>
				<li><a href="package-abismo.home.html">home</a>
						</li>
				<li><a href="package-abismo.images.html">images</a>
						</li>
				<li><a href="package-abismo.projects.html">projects</a>
						</li>
				<li><a href="package-abismo.Services.html">Services</a>
						</li>
				<li><a href="package-abismo.studio.html">studio</a>
						</li>
				<li><a href="package-abismo.tenders.html">tenders</a>
						</li>
				<li><a href="package-abismo.users.html">users</a>
						</li>
				<li><a href="package-abismo.videos.html">videos</a>
						</li>
				<li><a href="package-abismo.view.html">view<span></span></a>
						<ul>
				<li><a href="package-abismo.view.helpers.html">helpers</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-app.html">app<span></span></a>
						<ul>
				<li><a href="package-app.Config.html">Config<span></span></a>
						<ul>
				<li><a href="package-app.Config.Schema.html">Schema</a>
						</li>
							</ul></li>
				<li><a href="package-app.Model.html">Model<span></span></a>
						<ul>
				<li><a href="package-app.Model.debug.html">debug<span></span></a>
						<ul>
				<li><a href="package-app.Model.debug.kit.html">kit</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-app.View.html">View<span></span></a>
						<ul>
				<li><a href="package-app.View.Helper.html">Helper<span></span></a>
						<ul>
				<li><a href="package-app.View.Helper.debug.html">debug<span></span></a>
						<ul>
				<li><a href="package-app.View.Helper.debug.kit.html">kit<span></span></a>
						<ul>
				<li><a href="package-app.View.Helper.debug.kit.views.html">views<span></span></a>
						<ul>
				<li><a href="package-app.View.Helper.debug.kit.views.helpers.html">helpers</a>
						</li>
							</ul></li></ul></li></ul></li></ul></li></ul></li></ul></li>
				<li><a href="package-cake.html">cake<span></span></a>
						<ul>
				<li><a href="package-cake.debug.html">debug<span></span></a>
						<ul>
				<li><a href="package-cake.debug.kit.html">kit<span></span></a>
						<ul>
				<li><a href="package-cake.debug.kit.panels.html">panels</a>
						</li>
							</ul></li></ul></li></ul></li>
				<li><a href="package-debug.html">debug<span></span></a>
						<ul>
				<li><a href="package-debug.kit.html">kit<span></span></a>
						<ul>
				<li><a href="package-debug.kit.components.html">components</a>
						</li>
				<li><a href="package-debug.kit.controllers.html">controllers<span></span></a>
						<ul>
				<li><a href="package-debug.kit.controllers.components.html">components</a>
						</li>
							</ul></li>
				<li><a href="package-debug.kit.Lib.html">Lib</a>
						</li>
				<li><a href="package-debug.kit.models.html">models<span></span></a>
						<ul>
				<li><a href="package-debug.kit.models.behaviors.html">behaviors</a>
						</li>
							</ul></li>
				<li><a href="package-debug.kit.vendors.html">vendors</a>
						</li>
				<li><a href="package-debug.kit.views.html">views<span></span></a>
						<ul>
				<li><a href="package-debug.kit.views.helpers.html">helpers</a>
						</li>
							</ul></li></ul></li></ul></li>
				<li><a href="package-localized.html">localized</a>
						</li>
				<li><a href="package-Localized.html">Localized<span></span></a>
						<ul>
				<li><a href="package-localized.tests.html">tests<span></span></a>
						<ul>
				<li><a href="package-localized.tests.cases.html">cases<span></span></a>
						<ul>
				<li><a href="package-localized.tests.cases.libs.html">libs</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-Localized.Validation.html">Validation</a>
						</li>
							</ul></li>
				<li class="active"><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-AbismoAppSchema.html" class="invalid">AbismoAppSchema</a></li>
				<li class="active"><a href="class-AppController.html">AppController</a></li>
				<li><a href="class-AttachmentBehavior.html">AttachmentBehavior</a></li>
				<li><a href="class-BootstrapFormHelper.html">BootstrapFormHelper</a></li>
				<li><a href="class-BootstrapPaginatorHelper.html">BootstrapPaginatorHelper</a></li>
				<li><a href="class-BootstrapSessionHelper.html">BootstrapSessionHelper</a></li>
				<li><a href="class-ContactoController.html">ContactoController</a></li>
				<li><a href="class-DATABASE_CONFIG.html">DATABASE_CONFIG</a></li>
				<li><a href="class-FancyboxAppController.html">FancyboxAppController</a></li>
				<li><a href="class-FancyboxController.html">FancyboxController</a></li>
				<li><a href="class-FileValidationBehavior.html">FileValidationBehavior</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-None.html" title="Summary of None"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class AppController</h1>



	<dl class="tree">
		<dd style="padding-left:0px">
Controller
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by" />
<b><span>AppController</span></b>			
			
			
		</dd>
	</dl>


	<div>
		<h4>Direct known subclasses</h4>
			<a href="class-DashboardController.html">DashboardController</a>, 
			<a href="class-DebugKitAppController.html">DebugKitAppController</a>, 
			<a href="class-VideosController.html">VideosController</a>, 
			<a href="class-FancyboxAppController.html">FancyboxAppController</a>, 
			<a href="class-GetProjectsAndTendersServiceController.html">GetProjectsAndTendersServiceController</a>, 
			<a href="class-HomeController.html">HomeController</a>, 
			<a href="class-ImagesController.html">ImagesController</a>, 
			<a href="class-ProjectsController.html">ProjectsController</a>, 
			<a href="class-StudioController.html">StudioController</a>, 
			<a href="class-TendersController.html">TendersController</a>, 
			<a href="class-UsersController.html">UsersController</a>
	</div>

	<div>
		<h4>Indirect known subclasses</h4>
			<a href="class-ContactoController.html">ContactoController</a>, 
			<a href="class-FancyboxController.html">FancyboxController</a>, 
			<a href="class-ToolbarAccessController.html">ToolbarAccessController</a>
	</div>





	<div class="info">
		
		
		
		

		<b>Located at</b> <a href="source-class-AppController.html#7-133" title="Go to source code">Controller/AppController.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="isAuthorized" id="_isAuthorized">

		<td class="attributes"><code>
			 public 
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isAuthorized">#</a>
		<code><a href="source-class-AppController.html#59-76" title="Go to source code">isAuthorized</a>( )</code>

		<div class="description short">
			
<p>Checks if is an authorized user with admin privileges</p>

		</div>

		<div class="description detailed hidden">
			
<p>Checks if is an authorized user with admin privileges</p>




				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="beforeFilter" id="_beforeFilter">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_beforeFilter">#</a>
		<code><a href="source-class-AppController.html#78-106" title="Go to source code">beforeFilter</a>( )</code>

		<div class="description short">
			
<p>Builds the admin's section menu</p>

		</div>

		<div class="description detailed hidden">
			
<p>Builds the admin's section menu</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="index" id="_index">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_index">#</a>
		<code><a href="source-class-AppController.html#107-118" title="Go to source code">index</a>( )</code>

		<div class="description short">
			
<p>Redirige al dashboard si se ingresa a la url /admin</p>

		</div>

		<div class="description detailed hidden">
			
<p>Redirige al dashboard si se ingresa a la url /admin</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="isAdminRequest" id="_isAdminRequest">

		<td class="attributes"><code>
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isAdminRequest">#</a>
		<code><a href="source-class-AppController.html#120-131" title="Go to source code">isAdminRequest</a>( )</code>

		<div class="description short">
			
<p>Checks if the requested uri refers to an admin page</p>

		</div>

		<div class="description detailed hidden">
			
<p>Checks if the requested uri refers to an admin page</p>








		</div>
		</div></td>
	</tr>
	</table>












	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="components" id="$components">
		<td class="attributes"><code>
			public  
			array
		</code></td>

		<td class="name">
				<a href="source-class-AppController.html#9-38" title="Go to source code"><var>$components</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">array</span>(
    <span class="php-quote">'DebugKit.Toolbar'</span>, <span class="php-comment">// only loads if the enviroment is development</span>
    <span class="php-quote">'RequestHandler'</span>,
    <span class="php-quote">'Session'</span>,
    <span class="php-quote">'Auth'</span> =&gt; <span class="php-keyword1">array</span>(
        <span class="php-quote">'loginAction'</span> =&gt; <span class="php-keyword1">array</span>(
            <span class="php-quote">'controller'</span> =&gt; <span class="php-quote">'users'</span>,
            <span class="php-quote">'action'</span> =&gt; <span class="php-quote">'login'</span>,
            <span class="php-quote">'admin'</span> =&gt; <span class="php-keyword1">true</span>
        ),
        <span class="php-quote">'logoutRedirect'</span> =&gt; <span class="php-keyword1">array</span>(
            <span class="php-quote">'controller'</span> =&gt; <span class="php-quote">'home'</span>,
            <span class="php-quote">'action'</span> =&gt; <span class="php-quote">'index'</span>,
            <span class="php-quote">'admin'</span> =&gt; <span class="php-keyword1">false</span>
        ),
        <span class="php-quote">'loginRedirect'</span> =&gt; <span class="php-keyword1">array</span>(
            <span class="php-quote">'controller'</span> =&gt; <span class="php-quote">'admin'</span>,
            <span class="php-quote">'action'</span> =&gt; <span class="php-quote">'index'</span>,
            <span class="php-quote">'admin'</span> =&gt; <span class="php-keyword1">true</span>
        ),
        <span class="php-quote">'autoRedirect'</span> =&gt; <span class="php-keyword1">false</span>,
        <span class="php-quote">'authError'</span> =&gt; <span class="php-quote">'No tiene permisos para acceder a la pagina'</span>,
        <span class="php-quote">'authorize'</span> =&gt; <span class="php-keyword1">array</span>(<span class="php-quote">'Controller'</span>)
    )
)</code></td>
		<td class="description"><div>
			<a href="#$components" class="anchor">#</a>

			<div class="description short">
				
<p>Components</p>

			</div>

			<div class="description detailed hidden">
				
<p>Components</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="helpers" id="$helpers">
		<td class="attributes"><code>
			public  
			array
		</code></td>

		<td class="name">
				<a href="source-class-AppController.html#39-57" title="Go to source code"><var>$helpers</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">array</span>(
    <span class="php-quote">'Form'</span> =&gt; <span class="php-keyword1">array</span>(
        <span class="php-quote">'className'</span> =&gt; <span class="php-quote">'BootstrapForm'</span>
    ),

    <span class="php-quote">'Session'</span> =&gt; <span class="php-keyword1">array</span>(
        <span class="php-quote">'className'</span> =&gt; <span class="php-quote">'BootstrapSession'</span>
    ),
    <span class="php-quote">'Paginator'</span> =&gt; <span class="php-keyword1">array</span>(
        <span class="php-quote">'className'</span> =&gt; <span class="php-quote">'BootstrapPaginator'</span>
    ),
    <span class="php-quote">'Html'</span>, 
    <span class="php-comment">//'Fancybox.Fancybox'</span>
)</code></td>
		<td class="description"><div>
			<a href="#$helpers" class="anchor">#</a>

			<div class="description short">
				
<p>Helpers</p>

			</div>

			<div class="description detailed hidden">
				
<p>Helpers</p>


			</div>
		</div></td>
	</tr>
	</table>






</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
